package cn.segment.core.seg;

import java.util.ArrayList;
import java.util.List;

/**
 * 前后导型切分的路径存储
 * @author Huang Yue
 * @version 创建时间：2010-6-9 上午08:54:41
 */
public class WordTeam
{
    private double score = 0;
    private List<String> words = new ArrayList<String>();

    public double getScore()
    {
        return score;
    }

    public List<String> getWords()
    {
        return words;
    }
    /**
     * 新增分出的词
     * @param word
     */
    public void addWord(String word){
        words.add(word);
    }
    
    public void addScore(double score){
        this.score += score;
    }

}
